Before keepalived version '2.3.0' the compilation was not reproducable
because the compile date and other information has been added to the binary.
Starting with version '2.3.0', there is a new compilation option
'--enable-reproducible-build' that makes the binary reproducible.
The data that prevented this has been moved to a separate file,
'/etc/keepalived/keepalived.config-opts'.
This commit enables the reproducable build.
[1] https://github.com/acassen/keepalived/commit/
30d2f759783e769c27974d22bab88f7e82dfcdf9
Signed-off-by: Florian Eckert <[email protected]>
PKG_NAME:=keepalived
PKG_VERSION:=2.3.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.keepalived.org/software
CONFIGURE_ARGS+= \
--enable-json \
+ --enable-reproducible-build \
--with-init=SYSV \
--disable-track-process \
--runstatedir="/var/run"
$(INSTALL_DIR) $(1)/etc/keepalived
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.conf.sample \
$(1)/etc/keepalived/keepalived.conf
+ $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/keepalived/keepalived.config-opts \
+ $(1)/etc/keepalived/
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/etc/uci-defaults/keepalived \